$OpenBSD: patch-src_lib_common_py,v 1.1.1.1 2014/12/11 09:02:38 landry Exp $

Set datadir on OpenBSD

--- src/lib/common.py.orig	Tue Jun 12 02:29:21 2012
+++ src/lib/common.py	Thu Dec 11 08:36:05 2014
@@ -8,7 +8,10 @@ try:
     from defs import *
 except:
     APPVERSION = "0.7.3"
-    datadir = "/usr/share"
+    if os.uname()[0] == 'OpenBSD':
+      datadir = '${TRUEPREFIX}/share'
+    else:
+      datadir = '/usr/share'
 
 # Application info
 APPNAME = "Radio Tray"
